{if $kaiguans['pages']['quantie_toupiao'] == '0'}
	<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
			<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
		</a>
	</div>
{elseif $kaiguans['pages']['quantie_toupiao'] == '1'}
<!--全站关闭-->
{elseif $kaiguans['pages']['quantie_toupiao'] == '2'}
	{if $member.is_admin}
	<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
			<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
		</a>
	</div>
	{/if}
{elseif $kaiguans['pages']['quantie_toupiao'] == '3'}
	{if $quanzhukaiguans || $member.is_admin || d_fubu_quanxian($index['id'],$member.uid,'fbtpt',1)}
	<!--圈主和管理员-->
	<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
			<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
		</a>
	</div>
	{/if}
{elseif $kaiguans['pages']['quantie_toupiao'] == '4'}
<!--圈子自定义-->
	{if $fabushezhis['toupiao']=='0'}
	<!--全部开放-->
	<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
			<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
		</a>
	</div>
	{elseif $fabushezhis['toupiao']=='1'}
	<!--关闭-->
	{elseif $fabushezhis['toupiao']=='2'}
	<!--圈主-->
		{if $index.uid == $member.id || $member.is_admin}
			<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
				<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
					<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
					style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
					>
						<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
					</div>
					<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
				</a>
			</div>
		{/if}
	{elseif $fabushezhis['toupiao']=='3'}
	<!--用户组-->
		{if $index.uid == $member.id || $member.is_admin || d_fubu_quanxian($index['id'],$member.uid,'fbtpt',3)}
			<div class="col-md-3 col-xs-4  mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
				<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'toupiao'])}">
					<div class=" d-yuanjiao-20 d-kuan-juzhong d-gao-50 d-kuan-50 d-tu-juzhong"
					style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
					>
						<img src="{HOME_THEME_PATH}web/fabu/6-toupiao-4.png" width="25" height="25"/>
					</div>
					<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='toupiao'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发投票</div>
				</a>
			</div>
		{/if}
	{/if}

{/if}